package caom.wangs.java8.entity;

import lombok.Data;

@Data
public class Order {
    private Integer id;
    private Integer memberId;
    private String memberName;
    private Double price;

    public Order(Integer id, Integer memberId, String memberName, Double price) {
        this.id = id;
        this.memberId = memberId;
        this.memberName = memberName;
        this.price = price;
    }
}
